// source --> http://indianatalkssports.com/wp-content/plugins/yop-poll/public/assets/js/yop-poll-public.min.js?ver=5.2.1 function gMakeSheet(e){var t=document.createElement("style");return null!=e&&t.setAttribute("media",e),t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet}function gAddStyleToSheet(e,t,a,i){for(var n in"all"===e||null===e?e=[sheet,smSheet,mdSheet,lgSheet]:void 0!==e.cssRules&&(e=[e]),e)"object"==typeof e[n]&&"text/css"===e[n].type&&(e[n].insertRule?e[n].insertRule(t+"{"+a+"}",i):e[n].addRule(t,a,i))}!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=e()}}(function(){return function o(r,s,l){function d(a,e){if(!s[a]){if(!r[a]){var t="function"==typeof require&&require;if(!e&&t)return t(a,!0);if(c)return c(a,!0);var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}var n=s[a]={exports:{}};r[a][0].call(n.exports,function(e){var t=r[a][1][e];return d(t||e)},n,n.exports,o,r,s,l)}return s[a].exports}for(var c="function"==typeof require&&require,e=0;e');var a=e.data,i=a.datasets,n=a.labels;if(i.length)for(var o=0;o'),n[o]&&t.push(n[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(l){var d=l.data;return d.labels.length&&d.datasets.length?d.labels.map(function(e,t){var a=l.getDatasetMeta(0),i=d.datasets[0],n=a.data[t],o=n&&n.custom||{},r=I.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:e,fillStyle:o.backgroundColor?o.backgroundColor:r(i.backgroundColor,t,s.backgroundColor),strokeStyle:o.borderColor?o.borderColor:r(i.borderColor,t,s.borderColor),lineWidth:o.borderWidth?o.borderWidth:r(i.borderWidth,t,s.borderWidth),hidden:isNaN(i.data[t])||a.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var a,i,n,o=t.index,r=this.chart;for(a=0,i=(r.data.datasets||[]).length;a=Math.PI?-1:f<-Math.PI?1:0))+h,g=Math.cos(f),m=Math.sin(f),v=Math.cos(p),b=Math.sin(p),y=f<=0&&0<=p||f<=2*Math.PI&&2*Math.PI<=p,x=f<=.5*Math.PI&&.5*Math.PI<=p||f<=2.5*Math.PI&&2.5*Math.PI<=p,w=f<=-Math.PI&&-Math.PI<=p||f<=Math.PI&&Math.PI<=p,S=f<=.5*-Math.PI&&.5*-Math.PI<=p||f<=1.5*Math.PI&&1.5*Math.PI<=p,C=u/100,k=w?-1:Math.min(g*(g<0?1:C),v*(v<0?1:C)),M=S?-1:Math.min(m*(m<0?1:C),b*(b<0?1:C)),T=y?1:Math.max(g*(0');var a=e.data,i=a.datasets,n=a.labels;if(i.length)for(var o=0;o'),n[o]&&t.push(n[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(e,t){var a=s.getDatasetMeta(0),i=l.datasets[0],n=a.data[t].custom||{},o=w.valueAtIndexOrDefault,r=s.options.elements.arc;return{text:e,fillStyle:n.backgroundColor?n.backgroundColor:o(i.backgroundColor,t,r.backgroundColor),strokeStyle:n.borderColor?n.borderColor:o(i.borderColor,t,r.borderColor),lineWidth:n.borderWidth?n.borderWidth:o(i.borderWidth,t,r.borderWidth),hidden:isNaN(i.data[t])||a.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var a,i,n,o=t.index,r=this.chart;for(a=0,i=(r.data.datasets||[]).length;a=t.numSteps?(o.callback(t.onAnimationComplete,[t],a),a.animating=!1,i.splice(n,1)):++n}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}},{25:25,26:26,45:45}],23:[function(e,t,a){"use strict";var c=e(25),u=e(45),n=e(28),h=e(48);t.exports=function(d){var l=d.plugins;function s(e){return"top"===e||"bottom"===e}d.types={},d.instances={},d.controllers={},u.extend(d.prototype,{construct:function(e,t){var a,i,n=this;(i=(a=(a=t)||{}).data=a.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],a.options=u.configMerge(c.global,c[a.type],a.options||{}),t=a;var o=h.acquireContext(e,t),r=o&&o.canvas,s=r&&r.height,l=r&&r.width;n.id=u.uid(),n.ctx=o,n.canvas=r,n.config=t,n.width=l,n.height=s,n.aspectRatio=s?l/s:null,n.options=t.options,n._bufferedRender=!1,(n.chart=n).controller=n,d.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),o&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return l.notify(e,"beforeInit"),u.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildScales(),e.initToolTip(),l.notify(e,"afterInit"),e},clear:function(){return u.canvas.clear(this),this},stop:function(){return d.animationService.cancelAnimation(this),this},resize:function(e){var t=this,a=t.options,i=t.canvas,n=a.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(u.getMaximumWidth(i))),r=Math.max(0,Math.floor(n?o/n:u.getMaximumHeight(i)));if((t.width!==o||t.height!==r)&&(i.width=t.width=o,i.height=t.height=r,i.style.width=o+"px",i.style.height=r+"px",u.retinaScale(t,a.devicePixelRatio),!e)){var s={width:o,height:r};l.notify(t,"resize",[s]),t.options.onResize&&t.options.onResize(t,s),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},a=e.scale;u.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),u.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),a&&(a.id=a.id||"scale")},buildScales:function(){var o=this,e=o.options,r=o.scales={},t=[];e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),u.each(t,function(e){var t=e.options,a=u.valueOrDefault(t.type,e.dtype),i=d.scaleService.getScaleConstructor(a);if(i){s(t.position)!==s(e.dposition)&&(t.position=e.dposition);var n=new i({id:t.id,options:t,ctx:o.ctx,chart:o});(r[n.id]=n).mergeTicksOptions(),e.isDefault&&(o.scale=n)}}),d.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var o=this,r=[],s=[];return u.each(o.data.datasets,function(e,t){var a=o.getDatasetMeta(t),i=e.type||o.config.type;if(a.type&&a.type!==i&&(o.destroyDatasetMeta(t),a=o.getDatasetMeta(t)),a.type=i,r.push(a.type),a.controller)a.controller.updateIndex(t);else{var n=d.controllers[a.type];if(void 0===n)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new n(o,t),s.push(a.controller)}},o),s},resetElements:function(){var a=this;u.each(a.data.datasets,function(e,t){a.getDatasetMeta(t).controller.reset()},a)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,a,i=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),(a=(t=i).options).scale?t.scale.options=a.scale:a.scales&&a.scales.xAxes.concat(a.scales.yAxes).forEach(function(e){t.scales[e.id].options=e}),t.tooltip._options=a.tooltips,!1!==l.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var n=i.buildOrUpdateControllers();u.each(i.data.datasets,function(e,t){i.getDatasetMeta(t).controller.buildOrUpdateElements()},i),i.updateLayout(),u.each(n,function(e){e.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],l.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:i.render(e)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(d.layoutService.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e=t[e].length&&t[e].push({}),!t[e][n].type||r.type&&r.type!==t[e][n].type?p.merge(t[e][n],[l.scaleService.getScaleDefaults(o),r]):p.merge(t[e][n],r)}else p._merger(e,t,a,i)}})},p.where=function(e,t){if(p.isArray(e)&&Array.prototype.filter)return e.filter(t);var a=[];return p.each(e,function(e){t(e)&&a.push(e)}),a},p.findIndex=Array.prototype.findIndex?function(e,t,a){return e.findIndex(t,a)}:function(e,t,a){a=void 0===a?e:a;for(var i=0,n=e.length;i=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},p.previousItem=function(e,t,a){return a?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},p.niceNum=function(e,t){var a=Math.floor(p.log10(e)),i=e/Math.pow(10,a);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,a)},p.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},p.getRelativePosition=function(e,t){var a,i,n=e.originalEvent||e,o=e.currentTarget||e.srcElement,r=o.getBoundingClientRect(),s=n.touches;i=s&&0a.length){for(var l=0;lt&&(t=e.length)}),t},p.color=i?function(e){return e instanceof CanvasGradient&&(e=n.global.defaultColor),i(e)}:function(e){return console.error("Color.js not found!"),e},p.getHoverColor=function(e){return e instanceof CanvasPattern?e:p.color(e).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(e,t,a){"use strict";var i=e(45);function s(e,t){return e.native?{x:e.x,y:e.y}:i.getRelativePosition(e,t)}function l(e,t){var a,i,n,o,r;for(i=0,o=e.data.datasets.length;ie.maxHeight){o--;break}o++,l=r*s}e.labelRotation=o},afterCalculateTickRotation:function(){z.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){z.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},a=k(e._ticks),i=e.options,n=i.ticks,o=i.scaleLabel,r=i.gridLines,s=i.display,l=e.isHorizontal(),d=S(n),c=i.gridLines.tickMarkLength;if(t.width=l?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:s&&r.drawTicks?c:0,t.height=l?s&&r.drawTicks?c:0:e.maxHeight,o.display&&s){var u=C(o)+z.options.toPadding(o.padding).height;l?t.height+=u:t.width+=u}if(n.display&&s){var h=z.longestText(e.ctx,d.font,a,e.longestTextCache),f=z.numberOfLabelLines(a),p=.5*d.size,g=e.options.ticks.padding;if(l){e.longestLabelWidth=h;var m=z.toRadians(e.labelRotation),v=Math.cos(m),b=Math.sin(m)*h+d.size*f+p*(f-1)+p;t.height=Math.min(e.maxHeight,t.height+b+g),e.ctx.font=d.font;var y=w(e.ctx,a[0],d.font),x=w(e.ctx,a[a.length-1],d.font);0!==e.labelRotation?(e.paddingLeft="bottom"===i.position?v*y+3:v*p+3,e.paddingRight="bottom"===i.position?v*p+3:v*x+3):(e.paddingLeft=y/2+3,e.paddingRight=x/2+3)}else n.mirror?h=0:h+=g+p,t.width=Math.min(e.maxWidth,t.width+h),e.paddingTop=d.size/2,e.paddingBottom=d.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){z.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(z.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:z.noop,getPixelForValue:z.noop,getValueForPixel:z.noop,getPixelForTick:function(e){var t=this,a=t.options.offset;if(t.isHorizontal()){var i=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(a?0:1),1),n=i*e+t.paddingLeft;a&&(n+=i/2);var o=t.left+Math.round(n);return o+=t.isFullWidth()?t.margins.left:0}var r=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(r/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var a=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,i=t.left+Math.round(a);return i+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0o.width-(o.paddingLeft+o.paddingRight)&&(t=1+Math.floor((u+s.autoSkipPadding)*l/(o.width-(o.paddingLeft+o.paddingRight)))),n&&nl.height-t.height&&(u="bottom");var h=(d.left+d.right)/2,f=(d.top+d.bottom)/2;i="center"===u?(a=function(e){return e<=h},function(e){return h=l.width-t.width/2}),n=function(e){return e+t.width>l.width},o=function(e){return e-t.width<0},r=function(e){return e<=f?"top":"bottom"},a(s.x)?(c="left",n(s.x)&&(c="center",u=r(s.y))):i(s.x)&&(c="right",o(s.x)&&(c="center",u=r(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:u}}(this,A=function(e,t){var a=e._chart.ctx,i=2*t.yPadding,n=0,o=t.body,r=o.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);r+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,d=t.titleFontSize,c=t.bodyFontSize,u=t.footerFontSize;i+=s*d,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=r*c,i+=r?(r-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*u,i+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){n=Math.max(n,a.measureText(e).width+h)};return a.font=O.fontString(d,t._titleFontStyle,t._titleFontFamily),O.each(t.title,f),a.font=O.fontString(c,t._bodyFontStyle,t._bodyFontFamily),O.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?c+2:0,O.each(o,function(e){O.each(e.before,f),O.each(e.lines,f),O.each(e.after,f)}),h=0,a.font=O.fontString(u,t._footerFontStyle,t._footerFontFamily),O.each(t.footer,f),{width:n+=2*t.xPadding,height:i}}(this,C)),n=A,o=T,r=(i=C).x,s=i.y,l=i.caretSize,d=i.caretPadding,c=i.cornerRadius,u=o.xAlign,h=o.yAlign,f=l+d,p=c+d,"right"===u?r-=n.width:"center"===u&&(r-=n.width/2),"top"===h?s+=f:s-="bottom"===h?n.height+f:n.height/2,"center"===h?"left"===u?r+=f:"right"===u&&(r-=f):"left"===u?r-=p:"right"===u&&(r+=p),P={x:r,y:s}}else C.opacity=0;return C.xAlign=T.xAlign,C.yAlign=T.yAlign,C.x=P.x,C.y=P.y,C.width=A.width,C.height=A.height,C.caretX=_.x,C.caretY=_.y,x._model=C,e&&w.custom&&w.custom.call(x,C),x},drawCaret:function(e,t){var a=this._chart.ctx,i=this._view,n=this.getCaretPosition(e,t,i);a.lineTo(n.x1,n.y1),a.lineTo(n.x2,n.y2),a.lineTo(n.x3,n.y3)},getCaretPosition:function(e,t,a){var i,n,o,r,s,l,d=a.caretSize,c=a.cornerRadius,u=a.xAlign,h=a.yAlign,f=e.x,p=e.y,g=t.width,m=t.height;if("center"===h)s=p+m/2,l="left"===u?(n=(i=f)-d,o=i,r=s+d,s-d):(n=(i=f+g)+d,o=i,r=s-d,s+d);else if(o=(i="left"===u?(n=f+c+d)-d:"right"===u?(n=f+g-c-d)-d:(n=f+g/2)-d,n+d),"top"===h)s=(r=p)-d,l=r;else{s=(r=p+m)+d,l=r;var v=o;o=i,i=v}return{x1:i,x2:n,x3:o,y1:r,y2:s,y3:l}},drawTitle:function(e,t,a,i){var n=t.title;if(n.length){a.textAlign=t._titleAlign,a.textBaseline="top";var o,r,s=t.titleFontSize,l=t.titleSpacing;for(a.fillStyle=h(t.titleFontColor,i),a.font=O.fontString(s,t._titleFontStyle,t._titleFontFamily),o=0,r=n.length;o=a.innerRadius&&o<=a.outerRadius;return l&&d}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,a=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*a,y:e.y+Math.sin(t)*a}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,a=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*a,y:e.y+Math.sin(t)*a}},draw:function(){var e=this._chart.ctx,t=this._view,a=t.startAngle,i=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,a,i),e.arc(t.x,t.y,t.innerRadius,i,a,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},{25:25,26:26,45:45}],37:[function(e,t,a){"use strict";var i=e(25),n=e(26),c=e(45),u=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:u.defaultColor,borderWidth:3,borderColor:u.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=n.extend({draw:function(){var e,t,a,i,n=this._view,o=this._chart.ctx,r=n.spanGaps,s=this._children.slice(),l=u.elements.line,d=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=n.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||l.borderDash),o.lineDashOffset=n.borderDashOffset||l.borderDashOffset,o.lineJoin=n.borderJoinStyle||l.borderJoinStyle,o.lineWidth=n.borderWidth||l.borderWidth,o.strokeStyle=n.borderColor||u.defaultColor,o.beginPath(),d=-1,e=0;e=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return a},inLabelRange:function(e,t){if(!this._view)return!1;var a=o(this);return l(this)?e>=a.left&&e<=a.right:t>=a.top&&t<=a.bottom},inXRange:function(e){var t=o(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=o(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,a=this._view;return t=l(this)?(e=a.x,(a.y+a.base)/2):(e=(a.x+a.base)/2,a.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},{25:25,26:26}],40:[function(e,t,a){"use strict";t.exports={},t.exports.Arc=e(36),t.exports.Line=e(37),t.exports.Point=e(38),t.exports.Rectangle=e(39)},{36:36,37:37,38:38,39:39}],41:[function(e,t,a){"use strict";var i=e(42);a=t.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,a,i,n,o){if(o){var r=Math.min(o,i/2),s=Math.min(o,n/2);e.moveTo(t+r,a),e.lineTo(t+i-r,a),e.quadraticCurveTo(t+i,a,t+i,a+s),e.lineTo(t+i,a+n-s),e.quadraticCurveTo(t+i,a+n,t+i-r,a+n),e.lineTo(t+r,a+n),e.quadraticCurveTo(t,a+n,t,a+n-s),e.lineTo(t,a+s),e.quadraticCurveTo(t,a,t+r,a)}else e.rect(t,a,i,n)},drawPoint:function(e,t,a,i,n){var o,r,s,l,d,c;if(!t||"object"!=typeof t||"[object HTMLImageElement]"!==(o=t.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(a)||a<=0)){switch(t){default:e.beginPath(),e.arc(i,n,a,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),d=(r=3*a/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(i-r/2,n+d/3),e.lineTo(i+r/2,n+d/3),e.lineTo(i,n-2*d/3),e.closePath(),e.fill();break;case"rect":c=1/Math.SQRT2*a,e.beginPath(),e.fillRect(i-c,n-c,2*c,2*c),e.strokeRect(i-c,n-c,2*c,2*c);break;case"rectRounded":var u=a/Math.SQRT2,h=i-u,f=n-u,p=Math.SQRT2*a;e.beginPath(),this.roundedRect(e,h,f,p,p,a/2),e.closePath(),e.fill();break;case"rectRot":c=1/Math.SQRT2*a,e.beginPath(),e.moveTo(i-c,n),e.lineTo(i,n+c),e.lineTo(i+c,n),e.lineTo(i,n-c),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,n+a),e.lineTo(i,n-a),e.moveTo(i-a,n),e.lineTo(i+a,n),e.closePath();break;case"crossRot":e.beginPath(),s=Math.cos(Math.PI/4)*a,l=Math.sin(Math.PI/4)*a,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i-s,n+l),e.lineTo(i+s,n-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,n+a),e.lineTo(i,n-a),e.moveTo(i-a,n),e.lineTo(i+a,n),s=Math.cos(Math.PI/4)*a,l=Math.sin(Math.PI/4)*a,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i-s,n+l),e.lineTo(i+s,n-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-a,n),e.lineTo(i+a,n),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,n),e.lineTo(i+a,n),e.closePath()}e.stroke()}}else e.drawImage(t,i-t.width/2,n-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,a,i){if(a.steppedLine)return"after"===a.steppedLine&&!i||"after"!==a.steppedLine&&i?e.lineTo(t.x,a.y):e.lineTo(a.x,t.y),void e.lineTo(a.x,a.y);a.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?a.controlPointNextX:a.controlPointPreviousX,i?a.controlPointNextY:a.controlPointPreviousY,a.x,a.y):e.lineTo(a.x,a.y)}};i.clear=a.clear,i.drawRoundedRectangle=function(e){e.beginPath(),a.roundedRect.apply(a,arguments),e.closePath()}},{42:42}],42:[function(e,t,a){"use strict";var i,c={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,a){return c.valueOrDefault(c.isArray(e)?e[t]:e,a)},callback:function(e,t,a){if(e&&"function"==typeof e.call)return e.apply(a,t)},each:function(e,t,a,i){var n,o,r;if(c.isArray(e))if(o=e.length,i)for(n=o-1;0<=n;n--)t.call(a,e[n],n);else for(n=0;n
';var n=t.childNodes[0],o=t.childNodes[1];t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var r=function(){t._reset(),e()};return y(n,"scroll",r.bind(n,"expand")),y(o,"scroll",r.bind(o,"shrink")),t}((o=!(i=function(){if(u.resizer)return e(x("resize",a))}),r=[],function(){r=Array.prototype.slice.call(arguments),n=n||this,o||(o=!0,f.requestAnimFrame.call(window,function(){o=!1,i.apply(n,r)}))}));l=function(){if(u.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}},d=(s=t)[p]||(s[p]={}),c=d.renderProxy=function(e){e.animationName===v&&l()},f.each(b,function(e){y(s,e,c)}),d.reflow=!!s.offsetParent,s.classList.add(m)}function o(e){var t,a,i,n=e[p]||{},o=n.resizer;delete n.resizer,a=(t=e)[p]||{},(i=a.renderProxy)&&(f.each(b,function(e){r(t,e,i)}),delete a.renderProxy),t.classList.remove(m),o&&o.parentNode&&o.parentNode.removeChild(o)}t.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,a,i="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes "+v+"{"+i+"}@keyframes "+v+"{"+i+"}."+m+"{-webkit-animation:"+v+" 0.001s;animation:"+v+" 0.001s;}",a=(e=this)._style||document.createElement("style"),e._style||(t="/* Chart.js */\n"+t,(e._style=a).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(a)),a.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var a=e&&e.getContext&&e.getContext("2d");return a&&a.canvas===e?(function(e,t){var a=e.style,i=e.getAttribute("height"),n=e.getAttribute("width");if(e[p]={initial:{height:i,width:n,style:{display:a.display,height:a.height,width:a.width}}},a.display=a.display||"block",null===n||""===n){var o=l(e,"width");void 0!==o&&(e.width=o)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var r=l(e,"height");void 0!==o&&(e.height=r)}}(e,t),a):null},releaseContext:function(e){var a=e.canvas;if(a[p]){var i=a[p].initial;["height","width"].forEach(function(e){var t=i[e];f.isNullOrUndef(t)?a.removeAttribute(e):a.setAttribute(e,t)}),f.each(i.style||{},function(e,t){a.style[t]=e}),a.width=a.width,delete a[p]}},addEventListener:function(o,e,r){var t=o.canvas;if("resize"!==e){var a=r[p]||(r[p]={});y(t,e,(a.proxies||(a.proxies={}))[o.id+"_"+e]=function(e){var t,a,i,n;r((a=o,i=s[(t=e).type]||t.type,n=f.getRelativePosition(t,a),x(i,a,n.x,n.y,t)))})}else n(t,r,o)},removeEventListener:function(e,t,a){var i=e.canvas;if("resize"!==t){var n=((a[p]||{}).proxies||{})[e.id+"_"+t];n&&r(i,t,n)}else o(i)}},f.addEvent=y,f.removeEvent=r},{45:45}],48:[function(e,t,a){"use strict";var i=e(45),n=e(46),o=e(47),r=o._enabled?o:n;t.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(e,t,a){"use strict";var d=e(25),m=e(40),c=e(45);d._set("global",{plugins:{filler:{propagate:!0}}}),t.exports=function(){var h={dataset:function(e){var t=e.fill,a=e.chart,i=a.getDatasetMeta(t),n=i&&a.isDatasetVisible(t)&&i.dataset._children||[],o=n.length||0;return o?function(e,t){return t');for(var a=0;a'),e.data.datasets[a].label&&t.push(e.data.datasets[a].label),t.push("");return t.push(""),t.join("")}}),t.exports=function(i){var n=i.layoutService,e=A.noop;function T(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}function o(e,t){var a=new i.Legend({ctx:e.ctx,options:t,chart:e});n.configure(e,a,t),n.addBox(e,a),e.legend=a}return i.Legend=r.extend({initialize:function(e){A.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:e,update:function(e,t,a){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:e,beforeSetDimensions:e,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:e,beforeBuildLabels:e,buildLabels:function(){var t=this,a=t.options.labels||{},e=A.callback(a.generateLabels,[t.chart],t)||[];a.filter&&(e=e.filter(function(e){return a.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:e,beforeFit:e,fit:function(){var i=this,e=i.options,n=e.labels,t=e.display,o=i.ctx,a=P.global,r=A.valueOrDefault,s=r(n.fontSize,a.defaultFontSize),l=r(n.fontStyle,a.defaultFontStyle),d=r(n.fontFamily,a.defaultFontFamily),c=A.fontString(s,l,d),u=i.legendHitBoxes=[],h=i.minSize,f=i.isHorizontal();if(h.height=f?(h.width=i.maxWidth,t?10:0):(h.width=t?10:0,i.maxHeight),t)if(o.font=c,f){var p=i.lineWidths=[0],g=i.legendItems.length?s+n.padding:0;o.textAlign="left",o.textBaseline="top",A.each(i.legendItems,function(e,t){var a=T(n,s)+s/2+o.measureText(e.text).width;p[p.length-1]+a+n.padding>=i.width&&(g+=s+n.padding,p[p.length]=i.left),u[t]={left:0,top:0,width:a,height:s},p[p.length-1]+=a+n.padding}),h.height+=g}else{var m=n.padding,v=i.columnWidths=[],b=n.padding,y=0,x=0,w=s+m;A.each(i.legendItems,function(e,t){var a=T(n,s)+s/2+o.measureText(e.text).width;x+w>h.height&&(b+=y+n.padding,v.push(y),x=y=0),y=Math.max(y,a),x+=w,u[t]={left:0,top:0,width:a,height:s}}),b+=y,v.push(y),h.width+=b}i.width=h.width,i.height=h.height},afterFit:e,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var u=this,h=u.options,f=h.labels,p=P.global,g=p.elements.line,m=u.width,v=u.lineWidths;if(h.display){var b,y=u.ctx,x=A.valueOrDefault,e=x(f.fontColor,p.defaultFontColor),w=x(f.fontSize,p.defaultFontSize),t=x(f.fontStyle,p.defaultFontStyle),a=x(f.fontFamily,p.defaultFontFamily),i=A.fontString(w,t,a);y.textAlign="left",y.textBaseline="middle",y.lineWidth=.5,y.strokeStyle=e,y.fillStyle=e,y.font=i;var S=T(f,w),C=u.legendHitBoxes,k=u.isHorizontal();b=k?{x:u.left+(m-v[0])/2,y:u.top+f.padding,line:0}:{x:u.left+f.padding,y:u.top+f.padding,line:0};var M=w+f.padding;A.each(u.legendItems,function(e,t){var a,i,n,o,r,s=y.measureText(e.text).width,l=S+w/2+s,d=b.x,c=b.y;k?m<=d+l&&(c=b.y+=M,b.line++,d=b.x=u.left+(m-v[b.line])/2):c+M>u.bottom&&(d=b.x=d+u.columnWidths[b.line]+f.padding,c=b.y=u.top+f.padding,b.line++),function(e,t,a){if(!(isNaN(S)||S<=0)){y.save(),y.fillStyle=x(a.fillStyle,p.defaultColor),y.lineCap=x(a.lineCap,g.borderCapStyle),y.lineDashOffset=x(a.lineDashOffset,g.borderDashOffset),y.lineJoin=x(a.lineJoin,g.borderJoinStyle),y.lineWidth=x(a.lineWidth,g.borderWidth),y.strokeStyle=x(a.strokeStyle,p.defaultColor);var i=0===x(a.lineWidth,g.borderWidth);if(y.setLineDash&&y.setLineDash(x(a.lineDash,g.borderDash)),h.labels&&h.labels.usePointStyle){var n=w*Math.SQRT2/2,o=n/Math.SQRT2,r=e+o,s=t+o;A.canvas.drawPoint(y,a.pointStyle,n,r,s)}else i||y.strokeRect(e,t,S,w),y.fillRect(e,t,S,w);y.restore()}}(d,c,e),C[t].left=d,C[t].top=c,a=e,i=s,o=S+(n=w/2)+d,r=c+n,y.fillText(a.text,o,r),a.hidden&&(y.beginPath(),y.lineWidth=2,y.moveTo(o,r),y.lineTo(o+i,r),y.stroke()),k?b.x+=l+f.padding:b.y+=M})}},handleEvent:function(e){var t=this,a=t.options,i="mouseup"===e.type?"click":e.type,n=!1;if("mousemove"===i){if(!a.onHover)return}else{if("click"!==i)return;if(!a.onClick)return}var o=e.x,r=e.y;if(o>=t.left&&o<=t.right&&r>=t.top&&r<=t.bottom)for(var s=t.legendHitBoxes,l=0;l=d.left&&o<=d.left+d.width&&r>=d.top&&r<=d.top+d.height){if("click"===i){a.onClick.call(t,e.native,t.legendItems[l]),n=!0;break}if("mousemove"===i){a.onHover.call(t,e.native,t.legendItems[l]),n=!0;break}}}return n}}),{id:"legend",beforeInit:function(e){var t=e.options.legend;t&&o(e,t)},beforeUpdate:function(e){var t=e.options.legend,a=e.legend;t?(A.mergeIf(t,P.global.legend),a?(n.configure(e,a,t),a.options=t):o(e,t)):a&&(n.removeBox(e,a),delete e.legend)},afterEvent:function(e,t){var a=e.legend;a&&a.handleEvent(t)}}}},{25:25,26:26,45:45}],51:[function(e,t,a){"use strict";var S=e(25),r=e(26),C=e(45);S._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),t.exports=function(i){var n=i.layoutService,e=C.noop;function o(e,t){var a=new i.Title({ctx:e.ctx,options:t,chart:e});n.configure(e,a,t),n.addBox(e,a),e.titleBlock=a}return i.Title=r.extend({initialize:function(e){C.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:e,update:function(e,t,a){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:e,beforeSetDimensions:e,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:e,beforeBuildLabels:e,buildLabels:e,afterBuildLabels:e,beforeFit:e,fit:function(){var e=this,t=C.valueOrDefault,a=e.options,i=a.display,n=t(a.fontSize,S.global.defaultFontSize),o=e.minSize,r=C.isArray(a.text)?a.text.length:1,s=C.options.toLineHeight(a.lineHeight,n),l=i?r*s+2*a.padding:0;e.isHorizontal()?(o.width=e.maxWidth,o.height=l):(o.width=l,o.height=e.maxHeight),e.width=o.width,e.height=o.height},afterFit:e,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,a=C.valueOrDefault,i=e.options,n=S.global;if(i.display){var o,r,s,l=a(i.fontSize,n.defaultFontSize),d=a(i.fontStyle,n.defaultFontStyle),c=a(i.fontFamily,n.defaultFontFamily),u=C.fontString(l,d,c),h=C.options.toLineHeight(i.lineHeight,l),f=h/2+i.padding,p=0,g=e.top,m=e.left,v=e.bottom,b=e.right;t.fillStyle=a(i.fontColor,n.defaultFontColor),t.font=u,e.isHorizontal()?(r=m+(b-m)/2,s=g+f,o=b-m):(r="left"===i.position?m+f:b-f,s=g+(v-g)/2,o=v-g,p=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(r,s),t.rotate(p),t.textAlign="center",t.textBaseline="middle";var y=i.text;if(C.isArray(y))for(var x=0,w=0;wr.max&&(r.max=a))})});r.min=isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=isFinite(r.max)&&!isNaN(r.max)?r.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var a=u.valueOrDefault(t.fontSize,i.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*a)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t,a=this,i=a.start,n=+a.getRightValue(e),o=a.end-i;return t=a.isHorizontal()?a.left+a.width/o*(n-i):a.bottom-a.height/o*(n-i),Math.round(t)},getValueForPixel:function(e){var t=this,a=t.isHorizontal(),i=a?t.width:t.height,n=(a?e-t.left:t.bottom-e)/i;return t.start+(t.end-t.start)*n},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",a,t)}},{25:25,34:34,45:45}],54:[function(e,t,a){"use strict";var r=e(45),o=e(34);t.exports=function(t){var e=r.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var a=r.sign(e.min),i=r.sign(e.max);a<0&&i<0?e.max=0:0=e.max&&(n?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var e=this,t=e.options.ticks,a=e.getTickLimit(),i={maxTicks:a=Math.max(2,a),min:t.min,max:t.max,stepSize:r.valueOrDefault(t.fixedStepSize,t.stepSize)},n=e.ticks=o.generators.linear(i,e);e.handleDirectionalChanges(),e.max=r.max(n),e.min=r.min(n),t.reverse?(n.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{34:34,45:45}],55:[function(e,t,a){"use strict";var u=e(45),n=e(34);t.exports=function(e){var t={position:"left",ticks:{callback:n.formatters.logarithmic}},a=e.Scale.extend({determineDataLimits:function(){var r=this,s=r.options,e=s.ticks,l=r.chart,t=l.data.datasets,a=u.valueOrDefault,i=r.isHorizontal();function d(e){return i?e.xAxisID===r.id:e.yAxisID===r.id}r.min=null,r.max=null,r.minNotZero=null;var n=s.stacked;if(void 0===n&&u.each(t,function(e,t){if(!n){var a=l.getDatasetMeta(t);l.isDatasetVisible(t)&&d(a)&&void 0!==a.stack&&(n=!0)}}),s.stacked||n){var c={};u.each(t,function(e,t){var n=l.getDatasetMeta(t),o=[n.type,void 0===s.stacked&&void 0===n.stack?t:"",n.stack].join(".");l.isDatasetVisible(t)&&d(n)&&(void 0===c[o]&&(c[o]=[]),u.each(e.data,function(e,t){var a=c[o],i=+r.getRightValue(e);isNaN(i)||n.data[t].hidden||(a[t]=a[t]||0,s.relativePoints?a[t]=100:a[t]+=i)}))}),u.each(c,function(e){var t=u.min(e),a=u.max(e);r.min=null===r.min?t:Math.min(r.min,t),r.max=null===r.max?a:Math.max(r.max,a)})}else u.each(t,function(e,t){var i=l.getDatasetMeta(t);l.isDatasetVisible(t)&&d(i)&&u.each(e.data,function(e,t){var a=+r.getRightValue(e);isNaN(a)||i.data[t].hidden||(null===r.min?r.min=a:ar.max&&(r.max=a),0!==a&&(null===r.minNotZero||ar.r&&(r.r=p.end,s.r=h),g.startr.b&&(r.b=g.end,s.b=h)}e.setReductions(o,r,s)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,a){var i=t.l/Math.sin(a.l),n=Math.max(t.r-this.width,0)/Math.sin(a.r),o=-t.t/Math.cos(a.t),r=-Math.max(t.b-this.height,0)/Math.cos(a.b);i=s(i),n=s(n),o=s(o),r=s(r),this.drawingArea=Math.min(Math.round(e-(i+n)/2),Math.round(e-(o+r)/2)),this.setCenterPoint(i,n,o,r)},setCenterPoint:function(e,t,a,i){var n=this,o=n.width-t-n.drawingArea,r=e+n.drawingArea,s=a+n.drawingArea,l=n.height-i-n.drawingArea;n.xCenter=Math.round((r+o)/2+n.left),n.yCenter=Math.round((s+l)/2+n.top)},getIndexAngle:function(e){return e*(2*Math.PI/y(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var a=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*a:(e-t.min)*a},getPointPosition:function(e,t){var a=this.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(a)*t)+this.xCenter,y:Math.round(Math.sin(a)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:0>1)-1]||null,o=e[i],!n)return{lo:null,hi:o};if(o[t]a))return{lo:n,hi:o};s=i-1}}return{lo:o,hi:null}}(e,t,a),o=n.lo?n.hi?n.lo:e[e.length-2]:e[0],r=n.lo?n.hi?n.hi:e[e.length-1]:e[1],s=r[t]-o[t],l=s?(a-o[t])/s:0,d=(r[i]-o[i])*l;return o[i]+d}function s(e,t){var a=t.parser,i=t.parser||t.format;return"function"==typeof a?a(e):"string"==typeof e&&"string"==typeof i?y(e,i):(e instanceof y||(e=y(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function C(e,t){if(m.isNullOrUndef(e))return null;var a=t.options.time,i=s(t.getRightValue(e),a);return i.isValid()?(a.round&&i.startOf(a.round),i.valueOf()):null}function k(e){for(var t=w.indexOf(e)+1,a=w.length;t=w.indexOf(t);n--)if(o=w[n],x[o].common&&r.as(o)>=e.length)return o;return w[t?w.indexOf(t):0]}(b,m.minUnit,h.min,h.max),h._majorUnit=k(h._unit),h._table=function(e,t,a,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:a,pos:1}];var n,o,r,s,l,d=[],c=[t];for(n=0,o=e.length;n")[L]("ifCreated").parent().append(f.insert),e=x('').css(r).appendTo(h),i.data(w,{o:f,s:i.attr("style")}).css(s),f.inheritClass&&h[F](n.className||""),f.inheritID&&t&&h.attr("id",w+"-"+t),"static"==h.css("position")&&h.css("position","relative"),B(i,!0,A),d.length&&d.on(I+".i mouseover.i mouseout.i "+D,function(e){var t=e[_],a=x(this);if(!n[T]){if(t==I){if(x(e.target).is("a"))return;B(i,!1,!0)}else v&&(/ut|nd/.test(t)?(h[R](p),a[R](b)):(h[F](p),a[F](b)));if(!E)return!1;e.stopPropagation()}}),i.on(I+".i focus.i blur.i keyup.i keydown.i keypress.i",function(e){var t=e[_],a=e.keyCode;return t!=I&&("keydown"==t&&32==a?(n[_]==k&&n[M]||(n[M]?H(i,M):N(i,M)),!1):void("keyup"==t&&n[_]==k?!n[M]&&N(i,M):/us|ur/.test(t)&&h["blur"==t?R:F](g)))}),e.on(I+" mousedown mouseup mouseover mouseout "+D,function(e){var t=e[_],a=/wn|up/.test(t)?m:p;if(!n[T]){if(t==I?B(i,!1,!0):(/wn|er|in/.test(t)?h[F](a):h[R](a+" "+m),d.length&&v&&a==p&&d[/ut|nd/.test(t)?R:F](b)),!E)return!1;e.stopPropagation()}})})}}(window.jQuery||window.Zepto);var sheet=gMakeSheet(),xsSheet=sheet,smSheet=gMakeSheet("only screen and (min-width: 768px)"),mdSheet=gMakeSheet("only screen and (min-width: 992px)"),lgSheet=gMakeSheet("only screen and (min-width: 1200px)");if(gAddStyleToSheet(null,".yop-poll-container [class*='col-']","padding-left:15px;padding-right:15px;"),gAddStyleToSheet(null,".flush-row [class*='col-']:first-of-type","padding-left:0 !important;"),gAddStyleToSheet(null,".flush-row [class*='col-']:last-of-type","padding-right:0 !important;"),function(r){r(document).ready(function(){var i={};r(".basic-yop-poll-container").find(".row[data-columns]").each(function(){var e=r(this).data("columns");if(r(this).addClass("cols-"+e),void 0===i["cols-"+e]){i["cols-"+e]="";for(var t=1;t<=e;t++){var a=t/e*100;gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-pull-"+t,"right: "+a+"%;")}}}),window.createGrid=function(e){r(e).find(".row[data-columns]").each(function(){var e=r(this).data("columns");if(r(this).addClass("cols-"+e),void 0===i["cols-"+e]){i["cols-"+e]="";for(var t=1;t<=e;t++){var a=t/e*100;gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-"+t,"width: "+a+"%; float:left;"),gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-push-"+t,"left: "+a+"%;"),gAddStyleToSheet(lgSheet,".cols-"+e+" .col-lg-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(mdSheet,".cols-"+e+" .col-md-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(smSheet,".cols-"+e+" .col-sm-pull-"+t,"right: "+a+"%;"),gAddStyleToSheet(xsSheet,".cols-"+e+" .col-xs-pull-"+t,"right: "+a+"%;")}}})};var o={};r(".row[data-gutter-width]").each(function(){var e=r(this).data("gutter-width");r(this).addClass("gutter-width-"+e);var t=r(this).data("gutter-scaling");(t="no"!=(t=void 0===t||t)&&"false"!=t&&"0"!=t&&0!==t)&&r(this).addClass("gutter-scaled-width-"+e);var a=r(this).data("flush-row");if((a="yes"==a||"true"==a||"1"==a||1===a)&&r(this).addClass("flush-row"),void 0===o["gutter-width-"+e]){o["gutter-width-"+e]="";var i=Math.floor(e/2);gAddStyleToSheet(lgSheet,".gutter-width-"+e+" [class*='col-lg-']","position: relative; min-height: 1px; padding-left: "+i+"px; padding-right: "+i+"px;"),gAddStyleToSheet(mdSheet,".gutter-width-"+e+" [class*='col-md-']","position: relative; min-height: 1px; padding-left: "+i+"px; padding-right: "+i+"px;"),gAddStyleToSheet(smSheet,".gutter-width-"+e+" [class*='col-sm-']","position: relative; min-height: 1px; padding-left: "+i+"px; padding-right: "+i+"px;"),gAddStyleToSheet(xsSheet,".gutter-width-"+e+" [class*='col-xs-']","position: relative; min-height: 1px; padding-left: "+i+"px; padding-right: "+i+"px;");var n=Math.floor(e/4);gAddStyleToSheet(xsSheet,".gutter-scaled-width-"+e+" [class*='col-xs-']","position: relative; min-height: 1px; padding-left: "+n+"px !important; padding-right: "+n+"px !important;"),gAddStyleToSheet(smSheet,".gutter-scaled-width-"+e+" [class*='col-sm-']","position: relative; min-height: 1px; padding-left: "+n+"px !important; padding-right: "+n+"px !important;"),gAddStyleToSheet(mdSheet,".gutter-scaled-width-"+e+" [class*='col-md-']","position: relative; min-height: 1px; padding-left: "+i+"px !important; padding-right: "+i+"px !important;"),gAddStyleToSheet(lgSheet,".gutter-scaled-width-"+e+" [class*='col-lg-']","position: relative; min-height: 1px; padding-left: "+i+"px !important; padding-right: "+i+"px !important;")}})})}(jQuery),function(e,t,a){"use strict";"function"==typeof window.define&&window.define.amd?window.define(a):"undefined"!=typeof module&&module.exports?module.exports=a():t.exports?t.exports=a():t.Fingerprint2=a()}(0,this,function(){"use strict";var t=function(e){if(!(this instanceof t))return new t(e);this.options=this.extend(e,{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",detectScreenOrientation:!0,sortPluginsFor:[/palemoon/i],userDefinedFonts:[],excludeDoNotTrack:!0}),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map};return t.prototype={extend:function(e,t){if(null==e)return t;for(var a in e)null!=e[a]&&t[a]!==e[a]&&(t[a]=e[a]);return t},get:function(i){var n=this,a={data:[],addPreprocessedComponent:function(e){var t=e.value;"function"==typeof n.options.preprocessor&&(t=n.options.preprocessor(e.key,t)),a.data.push({key:e.key,value:t})}};a=this.userAgentKey(a),a=this.languageKey(a),a=this.colorDepthKey(a),a=this.deviceMemoryKey(a),a=this.pixelRatioKey(a),a=this.hardwareConcurrencyKey(a),a=this.screenResolutionKey(a),a=this.availableScreenResolutionKey(a),a=this.timezoneOffsetKey(a),a=this.sessionStorageKey(a),a=this.localStorageKey(a),a=this.indexedDbKey(a),a=this.addBehaviorKey(a),a=this.openDatabaseKey(a),a=this.cpuClassKey(a),a=this.platformKey(a),a=this.doNotTrackKey(a),a=this.pluginsKey(a),a=this.canvasKey(a),a=this.webglKey(a),a=this.webglVendorAndRendererKey(a),a=this.adBlockKey(a),a=this.hasLiedLanguagesKey(a),a=this.hasLiedResolutionKey(a),a=this.hasLiedOsKey(a),a=this.hasLiedBrowserKey(a),a=this.touchSupportKey(a),a=this.customEntropyFunction(a),this.fontsKey(a,function(e){var a=[];n.each(e.data,function(e){var t=e.value;t&&"function"==typeof t.join&&(t=t.join(";")),a.push(t)});var t=n.x64hash128(a.join("~~~"),31);return i(t,e.data)})},customEntropyFunction:function(e){return"function"==typeof this.options.customFunction&&e.addPreprocessedComponent({key:"custom",value:this.options.customFunction()}),e},userAgentKey:function(e){return this.options.excludeUserAgent||e.addPreprocessedComponent({key:"user_agent",value:this.getUserAgent()}),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.addPreprocessedComponent({key:"language",value:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||""}),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.addPreprocessedComponent({key:"color_depth",value:window.screen.colorDepth||-1}),e},deviceMemoryKey:function(e){return this.options.excludeDeviceMemory||e.addPreprocessedComponent({key:"device_memory",value:this.getDeviceMemory()}),e},getDeviceMemory:function(){return navigator.deviceMemory||-1},pixelRatioKey:function(e){return this.options.excludePixelRatio||e.addPreprocessedComponent({key:"pixel_ratio",value:this.getPixelRatio()}),e},getPixelRatio:function(){return window.devicePixelRatio||""},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var t;return t=this.options.detectScreenOrientation&&window.screen.height>window.screen.width?[window.screen.height,window.screen.width]:[window.screen.width,window.screen.height],e.addPreprocessedComponent({key:"resolution",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return window.screen.availWidth&&window.screen.availHeight&&(t=this.options.detectScreenOrientation?window.screen.availHeight>window.screen.availWidth?[window.screen.availHeight,window.screen.availWidth]:[window.screen.availWidth,window.screen.availHeight]:[window.screen.availHeight,window.screen.availWidth]),void 0!==t&&e.addPreprocessedComponent({key:"available_resolution",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.addPreprocessedComponent({key:"timezone_offset",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.addPreprocessedComponent({key:"session_storage",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.addPreprocessedComponent({key:"local_storage",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.addPreprocessedComponent({key:"indexed_db",value:1}),e},addBehaviorKey:function(e){return!this.options.excludeAddBehavior&&document.body&&document.body.addBehavior&&e.addPreprocessedComponent({key:"add_behavior",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.addPreprocessedComponent({key:"open_database",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.addPreprocessedComponent({key:"cpu_class",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.addPreprocessedComponent({key:"navigator_platform",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.addPreprocessedComponent({key:"do_not_track",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.addPreprocessedComponent({key:"canvas",value:this.getCanvasFp()}),e},webglKey:function(e){return!this.options.excludeWebGL&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl",value:this.getWebglFp()}),e},webglVendorAndRendererKey:function(e){return!this.options.excludeWebGLVendorAndRenderer&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl_vendor",value:this.getWebglVendorAndRenderer()}),e},adBlockKey:function(e){return this.options.excludeAdBlock||e.addPreprocessedComponent({key:"adblock",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.addPreprocessedComponent({key:"has_lied_languages",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.addPreprocessedComponent({key:"has_lied_resolution",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.addPreprocessedComponent({key:"has_lied_os",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.addPreprocessedComponent({key:"has_lied_browser",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(t,a){return this.options.excludeFlashFonts?a(t):this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()?void 0===this.options.swfPath?a(t):void this.loadSwfAndDetectFonts(function(e){t.addPreprocessedComponent({key:"swf_fonts",value:e.join(";")}),a(t)}):a(t)},jsFontsKey:function(m,v){var b=this;return setTimeout(function(){var c=["monospace","sans-serif","serif"],u=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];b.options.extendedJsFonts&&(u=u.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),u=(u=u.concat(b.options.userDefinedFonts)).filter(function(e,t){return u.indexOf(e)===t});var e=document.getElementsByTagName("body")[0],n=document.createElement("div"),h=document.createElement("div"),i={},o={},f=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.texTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},t=function(e){for(var t=!1,a=0;at.name?1:e.name>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var a=[0,0,0,0];return a[3]+=e[3]+t[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]+t[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]+t[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]+t[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var a=[0,0,0,0];return a[3]+=e[3]*t[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=e[2]*t[3],a[1]+=a[2]>>>16,a[2]&=65535,a[2]+=e[3]*t[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=e[1]*t[3],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[2]*t[2],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=e[3]*t[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]},x64Rotl:function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},x64LeftShift:function(e,t){return 0===(t%=64)?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){t=t||0;for(var a=(e=e||"").length%16,i=e.length-a,n=[0,t],o=[0,t],r=[0,0],s=[0,0],l=[2277735313,289559509],d=[1291169091,658871167],c=0;c>>0).toString(16)).slice(-8)+("00000000"+(n[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}},t.VERSION="1.7.0",t}),void 0===helper)var helper={};helper.arr={multisort:function(e,a,i){if(void 0===a)for(a=[],x=0;xo?e(t,a,i,n,o+1):0:0==r?1:-1}(e,t,a,i,0)})}},function(n){n.fn.popupWindow=function(i){return this.each(function(){n.fn.popupWindow.defaultSettings={centerBrowser:0,centerScreen:0,height:500,left:0,location:0,menubar:0,resizable:0,scrollbars:0,status:0,width:500,windowName:null,windowURL:null,top:0,toolbar:0},settings=n.extend({},n.fn.popupWindow.defaultSettings,i||{});var e,t,a="height="+settings.height+",width="+settings.width+",toolbar="+settings.toolbar+",scrollbars="+settings.scrollbars+",status="+settings.status+",resizable="+settings.resizable+",location="+settings.location+",menuBar="+settings.menubar;return settings.windowName=settings.windowName||this.name,settings.windowURL=settings.windowURL||this.href,settings.centerBrowser?(t=n.browser.msie?(e=window.screenTop-120+((document.documentElement.clientHeight+120)/2-settings.height/2),window.screenLeft+((document.body.offsetWidth+20)/2-settings.width/2)):(e=window.screenY+(window.outerHeight/2-settings.height/2),window.screenX+(window.outerWidth/2-settings.width/2)),window.open(settings.windowURL,settings.windowName,a+",left="+t+",top="+e).focus()):settings.centerScreen?(e=(screen.height-settings.height)/2,t=(screen.width-settings.width)/2,window.open(settings.windowURL,settings.windowName,a+",left="+t+",top="+e).focus()):window.open(settings.windowURL,settings.windowName,a+",left="+settings.left+",top="+settings.top).focus(),!1})}}(jQuery),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):t(e.jQuery)}(this,function(e){var t,n,d;!function(h){var o,r,f,p,g={},m={},v={},b={},a=Object.prototype.hasOwnProperty,i=[].slice,y=/\.js$/;function x(e,t){return a.call(e,t)}function s(e,t){var a,i,n,o,r,s,l,d,c,u,h,f=t&&t.split("/"),p=v.map,g=p&&p["*"]||{};if(e&&"."===e.charAt(0))if(t){for(f=f.slice(0,f.length-1),r=(e=e.split("/")).length-1,v.nodeIdCompat&&y.test(e[r])&&(e[r]=e[r].replace(y,"")),e=f.concat(e),c=0;c=e.numberOfImages?a:(this.isRetina()&&i.push("retina=1"),a=e.url+e.routes.image+"&_id="+t,n(e,a,i))},r=function(e,t){var a=e.url+e.routes.audio;return t&&(a+="/ogg"),n(e,a)},s=function(e,t){return 0<=t&&t{accessibilityAlt}','
{refreshAlt}
',i='
{refreshAlt}
'+(e.supportsAudio()?'
{accessibilityAlt}
':"")+"
",n={path:a||"",refreshTitle:t.refreshTitle,refreshAlt:t.refreshAlt,accessibilityTitle:t.accessibilityTitle,accessibilityAlt:t.accessibilityAlt,retinaExtra:e.isRetina()?"@2x":""},s(i,n)},accessibility:function(e,t){var a;return e.supportsAudio()?('
{accessibilityDescription}
',a={accessibilityDescription:t.accessibilityDescription,audioURL:e.audioUrl(),audioFieldName:e.audioFieldName()},s('
{accessibilityDescription}
',a)):""},images:function(e,t){for(var a,i,n="",o=0,r=e.numberOfImages();o',i={imageUrl:e.imageUrl(o),i:o},n+=s(a,i);return a='

{explanation}

{images}
',i={imageFieldName:e.imageFieldName(),explanation:t.explanation.replace(/ANSWER/,e.imageName()),images:n},s(a,i)},audioInput:function(e){var t;return'',t={audioFieldName:e.audioFieldName()},s('',t)},imageInput:function(e,t){var a;return'',a={imageFieldName:e.imageFieldName(),value:e.imageValue(t)},s('',a)},namespaceInput:function(e){var t,a=e.namespace();return a&&0!==a.length?('',t={fieldName:e.namespaceFieldName(),value:a},s('',t)):""}}}),d("visualcaptcha/language",[],function(){"use strict";return{accessibilityAlt:"Sound icon",accessibilityTitle:"Accessibility option: listen to a question and answer it!",accessibilityDescription:"Type below the answer to what you hear. Numbers or words:",explanation:"Click or touch the ANSWER",refreshAlt:"Refresh/reload icon",refreshTitle:"Refresh/reload: get new images and accessibility option!"}}),d("visualcaptcha.jquery",["jquery","visualcaptcha","visualcaptcha/templates","visualcaptcha/language"],function(l,n,d,t){"use strict";var a,o,r,s,c,u,h;a=function(e,t){l.get(e,t,"json")},o=function(){},r=function(e,t,a){var i;i=d.namespaceInput(a)+d.accessibility(a,e.language)+d.images(a,e.language)+d.buttons(a,e.language,e.imgPath),t.html(i)},s=function(e){var t,a=l(this).closest(".visualCaptcha"),i=a.find(".visualCaptcha-accessibility-wrapper"),n=a.find(".visualCaptcha-possibilities"),o=a.find(".visualCaptcha-explanation"),r=i.find("audio");i.hasClass("visualCaptcha-hide")?(n.toggleClass("visualCaptcha-hide"),o.toggleClass("visualCaptcha-hide"),n.find(".img").removeClass("visualCaptcha-selected"),o.find("input").val(""),t=d.audioInput(a.data("captcha")),l(t).insertBefore(r),i.toggleClass("visualCaptcha-hide"),r[0].load(),r[0].play()):(r[0].pause(),i.toggleClass("visualCaptcha-hide"),i.find("input").remove(),o.toggleClass("visualCaptcha-hide"),n.toggleClass("visualCaptcha-hide")),e.preventDefault()},c=function(e){var t,a,i,n=l(this),o=n.closest(".visualCaptcha"),r=o.find(".visualCaptcha-possibilities"),s=o.find(".visualCaptcha-explanation");(a=s.find("input"))&&(a.remove(),r.find("a").removeClass("visualCaptcha-selected")),n.addClass("visualCaptcha-selected"),t=n.find("img").data("index"),i=d.imageInput(o.data("captcha"),t),s.append(l(i)),e.preventDefault()},u=function(e){l(this).closest(".visualCaptcha").data("captcha").refresh(),e.preventDefault()},h=function(e){var t=e.find(".imageField"),a=e.find(".audioField"),i=!(!t.val()&&!a.val());return i?{valid:i,name:t.val()?t.attr("name"):a.attr("name"),value:t.val()?t.val():a.val()}:{valid:i}},l.fn.visualCaptcha=function(e){var i;return i=l.extend({imgPath:"/",language:t,captcha:{request:a}},e),this.addClass("visualCaptcha").on("click",".visualCaptcha-accessibility-button",s).on("click",".visualCaptcha-refresh-button",u).on("click",".visualCaptcha-possibilities a",c),this.each(function(){var e,t,a=l(this);t=l.extend(i.captcha,{_loading:o.bind(null,i,a),_loaded:r.bind(null,i,a)}),void 0!==a.data("namespace")&&(t.namespace=a.data("namespace")),(e=n(t)).getCaptchaData=h.bind(null,a),a.data("captcha",e)})}}),d("jquery",function(){return e}),n("visualcaptcha.jquery")}),function(n){"use strict";var o=function(e,t){this.$element=n(e),this.options=n.extend({},o.defaults,t)};o.defaults={transition_delay:300,refresh_speed:50,display_text:"none",use_percentage:!0,percent_format:function(e){return e+"%"},amount_format:function(e,t,a){return e+" / "+t},update:n.noop,done:n.noop,fail:n.noop},o.prototype.transition=function(){var r=this.$element,s=r.parent(),l=this.$back_text,d=this.$front_text,c=this.options,u=parseInt(r.attr("data-transitiongoal")),h=parseInt(r.attr("aria-valuemin"))||0,f=parseInt(r.attr("aria-valuemax"))||100,p=s.hasClass("vertical"),g=c.update&&"function"==typeof c.update?c.update:Progressbar.defaults.update,m=c.done&&"function"==typeof c.done?c.done:Progressbar.defaults.done,e=c.fail&&"function"==typeof c.fail?c.fail:Progressbar.defaults.fail;if(isNaN(u))e("data-transitiongoal not set");else{var t,v=Math.round(100*(u-h)/(f-h));if("center"===c.display_text&&!l&&!d)this.$back_text=l=n("").addClass("progressbar-back-text").prependTo(s),this.$front_text=d=n("").addClass("progressbar-front-text").prependTo(r),p?(t=s.css("height"),l.css({height:t,"line-height":t}),d.css({height:t,"line-height":t}),n(window).resize(function(){t=s.css("height"),l.css({height:t,"line-height":t}),d.css({height:t,"line-height":t})})):(t=s.css("width"),d.css({width:t}),n(window).resize(function(){t=s.css("width"),d.css({width:t})}));setTimeout(function(){var e,t,a,i,n;p?r.css("height",v+"%"):r.css("width",v+"%");var o=setInterval(function(){i=p?(a=r.height(),s.height()):(a=r.width(),s.width()),e=Math.round(100*a/i),t=Math.round(h+a/i*(f-h)),v<=e&&(e=v,t=u,m(r),clearInterval(o)),"none"!==c.display_text&&(n=c.use_percentage?c.percent_format(e):c.amount_format(t,f,h),"fill"===c.display_text?r.text(n):"center"===c.display_text&&(l.text(n),d.text(n))),r.attr("aria-valuenow",t),g(e,r)},c.refresh_speed)},c.transition_delay)}};var e=n.fn.yopprogressbar;n.fn.yopprogressbar=function(i){return this.each(function(){var e=n(this),t=e.data("bs.progressbar"),a="object"==typeof i&&i;t&&a&&n.extend(t.options,a),t||e.data("bs.progressbar",t=new o(this,a)),t.transition()})},n.fn.yopprogressbar.Constructor=o,n.fn.yopprogressbar.noConflict=function(){return n.fn.yopprogressbar=e,this}}(window.jQuery);var YOPPollReCaptchaElements=[],YOPPollOnLoadRecaptcha=function(){jQuery(".basic-yop-poll-container").each(function(){"2"===jQuery(this).attr("data-cap")&&(YOPPollReCaptchaElements[jQuery(this).attr("data-uid")]=grecaptcha.render("yop-poll-captcha-"+jQuery(this).attr("data-uid"),{sitekey:objectL10n.yopPollParams.apiParams.reCaptcha.siteKey,theme:"light"}))})};jQuery(document).ready(function(T){var e,n,P,a,o,r,s,l,d,c,u,h,f,p,g,m,v,b,t,y,x,w,S,C,k={accessibilityAlt:objectL10n.yopPollParams.captchaParams.accessibilityAlt,accessibilityTitle:objectL10n.yopPollParams.captchaParams.accessibilityTitle,accessibilityDescription:objectL10n.yopPollParams.captchaParams.accessibilityDescription,explanation:objectL10n.yopPollParams.captchaParams.explanation,refreshAlt:objectL10n.yopPollParams.captchaParams.refreshAlt,refreshTitle:objectL10n.yopPollParams.captchaParams.refreshTitle},M=[],A=!1,_=!1,I=!1,D=!1,F=[[]];e=function(e,t){T('.basic-yop-poll-container[data-id="'+e+'"]').find('input[name="_token"]').val(t)},n=function(t,a){T.ajax({type:"POST",url:objectL10n.yopPollParams.urlParams.ajax,dataType:"json",data:{action:"yop_poll_is_user_logged_in"}}).done(function(e){if(!0===e.success)switch(1,a){case"vote":p(t,"wordpress");break;case"show-results":r(t)}else 0,"vote"===a&&T(".basic-vote").popupWindow({windowURL:"http://yahoo.com",windowName:"YOPPollW",height:500,width:450,centerScreen:1})})},P=function(e,t,a){var i="";return-1!==e.indexOf("percentages")&&(i=(i=0 '+answerResultsDetails+""):T(this).find(".basic-answer[data-id="+r[h]+"]").find(".basic-media").append(' '+answerResultsDetails+""),T(this).find(".basic-answer[data-id="+r[h]+"]").append('
');T(this).find(".progress .progress-bar").yopprogressbar();break;case"pie":T(this).find(".basic-question-title").append(''),e=T(this).find("#question-results-"+i),t=new Chart(e,{type:"pie",data:a,options:{animateScale:!0,responsive:!0,maintainAspectRatio:!0,legend:{position:"bottom"}}}),F[f].push(t)}})},s=function(e,t){T(e).attr("data-id");var a,i,n=T(e).attr("data-uid"),o={},r=T(e).attr("data-show-results-as"),s=T(e).attr("data-sort-results-by"),l=T(e).attr("data-sort-results-rule"),d=[],c=[],u=[],h={},f=[],p=[],g=[],m=[],v=[],b=0,y={},x="",w="",S=0,C=0,k=0,M=T(e).attr("data-resdet");for(F[n]=[],T(e).find(".basic-stats").hide(),T(e).find(".basic-answers").hide(),T(e).find(".basic-vote-button").hide(),T(e).find(".basic-results-button").hide(),T(e).find(".basic-back-to-vote-button").show(),T(e).find('.basic-element[data-type!="question"]').hide(),S=0;S'),C=0;C':p[S][C],answerResultsDetails=P(M,m[S][C],b),T(e).find('.basic-question[data-id="'+t[S].id+'"]').find(".results-basic-answers").append('
  • ');break;case"horizontal":for(T(e).find('.basic-question[data-id="'+t[S].id+'"]').append('
    '),C=0;C':p[S][C],answerResultsDetails=P(M,m[S][C],b),T(e).find('.basic-question[data-id="'+t[S].id+'"]').find(".results-basic-answers .row").append('
    ');createGrid(e);break;case"columns":for(k=1,w="",nrColumns=T(e).find('.basic-question[data-id="'+t[S].id+'"]').attr("data-colnum"),T(e).find('.basic-question[data-id="'+t[S].id+'"]').append('
    '),C=0;C':p[S][C],answerResultsDetails=P(M,m[S][C],b),w+='
    ',0==k%parseInt(nrColumns,10)&&(w+="",k')),k++;T(e).find('.basic-question[data-id="'+t[S].id+'"]').find(".results-basic-answers .row").append(w),createGrid(e)}T(e).find('.basic-question[data-id="'+t[S].id+'"]').find(".progress .progress-bar").yopprogressbar();break;case"pie":T(e).find('.basic-question[data-id="'+t[S].id+'"]').append(''),d[S]=T(e).find("#question-results-"+a).get(0).getContext("2d"),c[S]=new Chart(d[S],{type:"pie",data:h,options:{animateScale:!0,responsive:!0,maintainAspectRatio:!0,legend:{position:"bottom"}}}),F[n].push(c[S])}h.length=0,u.length=0,v.length=0,p.length=0,m.length=0,b=g.length=0}},l=function(e,t){var a=0;for(a=0;a'+objectL10n.yopPollParams.voteParams.thankYou+"

    "),T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),"yes"===response.redirect&&window.setTimeout(function(){window.location.href=response.redirect_to},1e3*response.redirect_after)):(T(a).find(".basic-message").addClass("basic-error"),T(a).find(".basic-message").removeClass("hide"),T(a).find(".basic-gdpr-consent").show(),T(a).find(".visualCaptcha").show(),T(a).find(".yop-poll-recaptcha").show(),T(a).find(".basic-message").html('

    '+e.data+"

    "),T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear"))}).fail(function(e,t){})}):(e=f(a,i,"",n),T.ajax({type:"POST",url:objectL10n.yopPollParams.urlParams.ajax,dataType:"json",data:{action:"yop_poll_record_vote",_token:T(a).find('input[name="_token"]').val(),data:JSON.stringify(e)}}).done(function(e){T(a).find(".basic-message").removeClass("show"),T(a).find(".basic-message").addClass("hide"),T(a).find(".basic-overlay").addClass("hide"),T(a).find(".visualCaptcha").hide(),T(a).find(".yop-poll-recaptcha").hide(),T(a).find(".basic-gdpr-consent").hide(),!0===e.success?(response=e.data,c(a),""!==response.total_votes&&T(a).find(".basic-stats-votes-number").text(response.total_votes),""!==response.total_answers&&T(a).find(".basic-stats-answers-number").text(response.total_answers),!0===response.rebuild&&l(a,JSON.parse(response.elements)),!0===response.show_results?(d(a,JSON.parse(response.results)),s(a,JSON.parse(response.results))):(T(a).find(".basic-message").addClass("basic-success"),T(a).find(".basic-message").removeClass("hide"),T(a).find(".basic-gdpr-consent").show(),T(a).find(".visualCaptcha").show(),T(a).find(".yop-poll-recaptcha").show(),T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.thankYou+"

    "),T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),"yes"===response.redirect&&window.setTimeout(function(){window.location.href=response.redirect_to},1e3*response.redirect_after)):(T(a).find(".basic-message").addClass("basic-error"),T(a).find(".basic-message").removeClass("hide"),T(a).find(".basic-gdpr-consent").show(),T(a).find(".visualCaptcha").show(),T(a).find(".yop-poll-recaptcha").show(),T(a).find(".basic-message").html('

    '+e.data+"

    "))}).fail(function(e,t){})),1},g=function(t){var a=T(t).attr("data-id"),i=T(t).attr("data-uid"),n=[];T.ajax({type:"POST",url:objectL10n.yopPollParams.urlParams.ajax,dataType:"json",async:!1,data:{action:"yop_poll_is_user_logged_in"},success:function(e){!0===e.success?(n.id="",n.firstName="",n.lastName="",n.email="",p(t,"wordpress",n)):T(".basic-vote").popupWindow({windowURL:objectL10n.yopPollParams.urlParams.wpLogin+encodeURIComponent("&poll_id="+a+"&puid="+i),windowName:"",height:500,location:1,menubar:1,resizable:0,scrollbars:1,status:0,width:450,toolbar:1,centerScreen:1})}})},m=function(t){var a=[];!1===A?FB.login(function(e){"connected"===e.status&&FB.api("/me",{fields:"first_name, last_name, email"},function(e){a.id="",a.firstName=e.first_name,a.lastName=e.last_name,a.email=e.email,p(t,"facebook",a)})},{scope:"public_profile, email",return_scopes:!0}):FB.api("/me",{fields:"first_name, last_name, email"},function(e){a.id="",a.firstName=e.first_name,a.lastName=e.last_name,a.email=e.email,p(t,"facebook",a)})},v=function(e){var t=[];!1===_?gapi.auth2.getAuthInstance().signIn().then(function(){googleUser=gapi.auth2.getAuthInstance().currentUser.get(),googleUserProfile=googleUser.getBasicProfile(),t.id="",t.firstName=googleUserProfile.getGivenName(),t.lastName=googleUserProfile.getFamilyName(),t.email=googleUserProfile.getEmail(),p(e,"google",t)}):(googleUser=gapi.auth2.getAuthInstance().currentUser.get(),googleUserProfile=googleUser.getBasicProfile(),t.id="",t.firstName=googleUserProfile.getGivenName(),t.lastName=googleUserProfile.getFamilyName(),t.email=googleUserProfile.getEmail(),p(e,"google",t))},T(".basic-yop-poll-container .basic-vote-button").click(function(e){var a,t,i,n,o,r,s=[],l=!1;if(a=T(this).closest(".basic-yop-poll-container"),t=T(a).attr("data-id"),i=T(a).attr("data-uid"),""!==t){if(n=T(a).attr("data-access").split(","),T(a).find(".basic-element").each(function(){var e=T(this).attr("data-type"),t=T(this).attr("data-id");switch(e){case"question":o=T(this).attr("data-min"),r=T(this).attr("data-max"),!1===l&&0===T(this).find('input[name="answer['+t+']"]:checked').length&&(T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.noAnswersSelected+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),!1===l&&o>T(this).find('input[name="answer['+t+']"]:checked').length&&(T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.minAnswersRequired.replace("{min_answers_allowed}",o)+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),!1===l&&r'+objectL10n.yopPollParams.voteParams.maxAnswersRequired.replace("{max_answers_allowed}",r)+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),!1===l&&1===T(this).find('input[name="answer['+t+']"][value="0"]:checked').length&&""===T(this).find('input[name="other['+t+']"]').val().trim()&&(T(this).find('input[name="other['+t+']"]').focus(),T(this).find('input[name="other['+t+']"]').closest(".basic-text").addClass("has-error"),T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.noAnswerForOther+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear"));break;case"custom-field":!1===l&&"yes"===T(this).attr("data-required")&&""===T(this).find('input[name="cfield['+t+']"]').val().trim()&&(T(this).addClass("has-error"),T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.noValueForCustomField.replace("{custom_field_name}",T(this).find("label").text())+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear"))}}),!1===l&&"yes"===T(a).attr("data-gdpr")&&"consent"===T(a).attr("data-gdpr-sol")&&!1===T(a).find(".gdpr-consent").is(":checked")&&(T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.consentNotChecked+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),!1===l&&"1"===T(a).attr("data-cap")&&!1===M[i].data("captcha").getCaptchaData().valid&&(T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.noCaptchaSelected+"

    "),T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),l=!0,T("html, body").animate({scrollTop:T(T(a).closest(".bootstrap-yop")).offset().top},1500,"linear")),!1===l)if(T(a).find(".basic-message").addClass("hide"),T(a).find(".basic-overlay").removeClass("hide"),1===n.length)switch(b(a),n[0]){case"guest":s.id="",s.firstName="",s.lastName="",s.email="",p(a,"anonymous",s);break;case"wordpress":g(a);break;case"facebook":m(a);break;case"google":v(a)}else T(a).find(".basic-preloader").addClass("hide"),T(a).find(".basic-vote-options").removeClass("hide")}else T(a).find(".basic-message").addClass("show basic-error"),T(a).find(".basic-overlay").addClass("hide"),T(a).find(".basic-message").html('

    '+objectL10n.yopPollParams.voteParams.invalidPoll+"

    ");e.preventDefault()}),T(".basic-yop-poll-container .basic-anonymous").click(function(e){var t=T(this).closest(".basic-yop-poll-container"),a=(T(t).attr("data-id"),[]);b(t),a.id="",a.firstName="",a.lastName="",a.email="",p(t,"anonymous",a),e.preventDefault()}),T(".basic-yop-poll-container .basic-wordpress").click(function(e){var t=T(this).closest(".basic-yop-poll-container");b(t),g(t),e.preventDefault()}),T(".basic-yop-poll-container .basic-facebook").click(function(e){var t=T(this).closest(".basic-yop-poll-container");b(t),m(t),e.preventDefault()}),T(".basic-yop-poll-container .basic-google").click(function(e){var t=T(this).closest(".basic-yop-poll-container");b(t),v(t),e.preventDefault()}),T(".basic-yop-poll-container .basic-results-button").click(function(e){var t=T(this).closest(".basic-yop-poll-container"),a=(T(t).attr("data-id"),T(t).attr("data-temp"));c(t),"basic-pretty"===a&&h(t),T(t).find(".basic-element").each(function(){"question"===T(this).attr("data-type")?(T(this).find('input[type="radio"]').hide(),T(this).find('input[type="checkbox"]').hide(),T(this).find(".basic-other-answer").hide()):T(this).hide()}),T(t).find(".basic-gdpr-consent").hide(),T(t).find(".visualCaptcha").hide(),T(t).find(".yop-poll-recaptcha").hide(),T(t).find(".basic-vote-button").hide(),T(t).find(".basic-results-button").hide(),T(t).find(".basic-back-to-vote-button").show(),o(t),e.preventDefault()}),T(".basic-yop-poll-container .basic-back-to-vote-button").click(function(e){var t=T(this).closest(".basic-yop-poll-container"),a=(T(t).attr("data-id"),T(t).attr("data-show-results-moment")),i=T(t).attr("data-temp");c(t),T(t).find(".basic-element").each(function(){T(this).attr("data-id");"question"===T(this).attr("data-type")?(T(this).find('input[type="radio"]').show(),T(this).find('input[type="checkbox"]').show(),T(this).find(".basic-answers").show(),T(this).find(".basic-other-answer").show()):T(this).show()}),"basic-pretty"===i&&u(t),T(t).find(".basic-gdpr-consent").show(),T(t).find(".visualCaptcha").show(),T(t).find(".yop-poll-recaptcha").show(),T(t).find(".basic-stats").show(),T(t).find(".basic-vote-button").show(),T(t).find(".basic-results-button").show(),T(t).find(".basic-back-to-vote-button").hide(),"2"===T(t).attr("data-cap")&&grecaptcha.reset(YOPPollReCaptchaElements[T(t).attr("data-uid")]),void 0!==a&&-1!==T(t).attr("data-show-results-moment").indexOf("before-vote")&&("registered"===T(t).attr("data-show-results-to")?n(T(t),"show-results"):r(t)),e.preventDefault()}),b=function(e){T(e).find(".basic-overlay").find(".basic-vote-options").addClass("hide"),T(e).find(".basic-overlay").find(".basic-preloader").removeClass("hide")},t=function(){gapi.client.init({apiKey:objectL10n.yopPollParams.apiParams.google.apiKey,clientId:objectL10n.yopPollParams.apiParams.google.clientId,scope:"profile"}).then(function(){gapi.auth2.getAuthInstance().isSignedIn.listen(y),y(gapi.auth2.getAuthInstance().isSignedIn.get())})},y=function(e){!0===e&&(_=!0)},!0===I&&(window.fbAsyncInit=function(){FB.init({appId:objectL10n.yopPollParams.apiParams.facebook.appId,xfbml:!0,version:"v2.8"}),FB.getLoginStatus(function(e){A="connected"===e.status,hasCheckedFb=!0})},x=document,w="facebook-jssdk",C=x.getElementsByTagName("script")[0],x.getElementById(w)||((S=x.createElement("script")).id=w,S.src="//connect.facebook.net/en_US/sdk.js",C.parentNode.insertBefore(S,C))),!0===D&&gapi.load("client:auth2",t),window.YOPPollSendBasicVote=p,window.YOPPollBasicUpdateToken=e}); // source --> http://indianatalkssports.com/wp-content/plugins/wcp-openweather/assets/libs/colorbox/jquery.colorbox-min.js?ver=5.2.1 /*! Colorbox 1.6.0 license: MIT http://www.jacklmoore.com/colorbox */ (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in y[0]&&!y[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),y.focus())}function c(t){c.str!==t&&(y.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!$){$=q=!0,c(_.get("className")),y.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=(l!==!1?Math.min(h,a(l,"x")):h)-z-D,_.h=(f!==!1?Math.min(s,a(f,"y")):s)-N-j,I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(S).hide(),y.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("
    "),w()}}function p(){y||(V=!1,E=t(i),y=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),M=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),x=n(se,"Wrapper"),b=n(se,"Content").append(S=n(se,"Title"),F=n(se,"Current"),P=t('